// packageE/appointment/components/hotTeacher/hotTeacher.js
var app = getApp();
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    // 新增样式二
    setStyle: {
      type: String,
      value: 1
    },
    workers: {
      type: null,
      value: []
    },
    workerNmae: {
      type: String,
      value: ""
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    imgPath: app.globalData.imgPath,
  },

  /**
   * 组件的方法列表
   */
  methods: {
    toHot(){
      this.triggerEvent("toHotChild")
    },
    toTechnicianDetails(e){
      let id = e.currentTarget.dataset.id;
      this.triggerEvent("toTechnicianDetails",id)
    }
  }
})